package org.example.service.domain;

import java.util.function.Supplier;

public interface RedisServer {
     <T> T get(String key,Class<T> clazz);

    <T> T get(String key, T defaultValue, Class<T> clazz);

    <T> T get(String key, Supplier<T> supplier, Class<T> clazz);


    void set(String key, Object value);
    
}
